<?php

use Illuminate\Database\Seeder;

class PowersSeeder extends Seeder
{
    /**
     * Run the database seeds.
     *
     * @return void
     */
    public function run()
    {
        DB::table('powers')->insert([
            [
                'power_key' => 'dashboard',
                'power_name' => '仪表盘',
                'icon'=>'fa-dashboard',
                'created_at'=>\Carbon\Carbon::now()->toDateTimeString(),
                'updated_at'=>\Carbon\Carbon::now()->toDateTimeString(),
            ],
            [
                'power_key' => 'user',
                'power_name' => '用户管理',
                'icon'=>'fa-users',
                'created_at'=>\Carbon\Carbon::now()->toDateTimeString(),
                'updated_at'=>\Carbon\Carbon::now()->toDateTimeString(),
            ],
            [
                'power_key' => 'spider',
                'power_name' => '爬虫管理',
                'icon'=>'fa-bug',
                'created_at'=>\Carbon\Carbon::now()->toDateTimeString(),
                'updated_at'=>\Carbon\Carbon::now()->toDateTimeString(),
            ],
            [
                'power_key'=>'power',
                'power_name' => '权限管理',
                'icon'=>'fa-exclamation-triangle',
                'created_at'=>\Carbon\Carbon::now()->toDateTimeString(),
                'updated_at'=>\Carbon\Carbon::now()->toDateTimeString(),
            ],
            [
                'power_key'=>'role',
                'power_name' => '角色管理',
                'icon'=>'fa-mortar-board',
                'created_at'=>\Carbon\Carbon::now()->toDateTimeString(),
                'updated_at'=>\Carbon\Carbon::now()->toDateTimeString(),
            ],
            [
                'power_key'=>'admin',
                'power_name' => '管理员管理',
                'icon'=>'fa-user-md',
                'created_at'=>\Carbon\Carbon::now()->toDateTimeString(),
                'updated_at'=>\Carbon\Carbon::now()->toDateTimeString(),
            ],
            [
                'power_key'=>'log',
                'power_name' => '日志管理',
                'icon'=>'fa-stack-overflow',
                'created_at'=>\Carbon\Carbon::now()->toDateTimeString(),
                'updated_at'=>\Carbon\Carbon::now()->toDateTimeString(),
            ],
            [
                'power_key'=>'content',
                'power_name' => '内容管理',
                'icon'=>'fa-certificate',
                'created_at'=>\Carbon\Carbon::now()->toDateTimeString(),
                'updated_at'=>\Carbon\Carbon::now()->toDateTimeString(),
            ],
            [
                'power_key'=>'pending',
                'power_name' => '内容审核',
                'icon'=>'fa-arrows',
                'created_at'=>\Carbon\Carbon::now()->toDateTimeString(),
                'updated_at'=>\Carbon\Carbon::now()->toDateTimeString(),
            ],
            [
                'power_key'=>'setting',
                'power_name' => '网站设置',
                'icon'=>'fa-filter',
                'created_at'=>\Carbon\Carbon::now()->toDateTimeString(),
                'updated_at'=>\Carbon\Carbon::now()->toDateTimeString(),
            ],
            [
                'power_key'=>'cplane',
                'power_name' => '积分策略',
                'icon'=>'fa-sort-numeric-desc',
                'created_at'=>\Carbon\Carbon::now()->toDateTimeString(),
                'updated_at'=>\Carbon\Carbon::now()->toDateTimeString(),
            ],
            [
                'power_key'=>'announce',
                'power_name' => '公告管理',
                'icon'=>'fa-th-list',
                'created_at'=>\Carbon\Carbon::now()->toDateTimeString(),
                'updated_at'=>\Carbon\Carbon::now()->toDateTimeString(),
            ]
        ]
        );
    }
}
